//
//  SearchView.h
//  CarsFiles_QYB
//
//  Created by 程虎 on 2017/3/18.
//  Copyright © 2017年 程虎. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^searchViewBlock)(NSString *searchStr);
@interface SearchView : UIView

/**
 搜索框提示文字
 */
@property (nonatomic, copy) NSString *placeholderStr;

/**
 热门搜索
 */
@property (nonatomic, copy) NSString *hotArys;
@property (nonatomic, copy) searchViewBlock searchBlock;

/**
 定位地址
 */
@property (nonatomic, copy) NSString *locationStr;

/**
 初始化方式

 @param frame frame
 @param types 0 首页 半透明效果 1 跟随导航栏效果
 @param showVC  展示的view
 */
- (instancetype)initWithFrame:(CGRect)frame Type:(NSInteger )types ShowView:(UIViewController *)showVC;
@end
